﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrderView.aspx.cs" Inherits="Admin.Admin.OrderMan.OrderView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="man_zone">
        <table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="table_style">
            <tr>
                <td colspan="4">
                    <a href="OrderList.aspx" style="color: Green; padding-left: 20px;">>>返回</a>
                </td>
            </tr>
            <tr>
                <td class="left_title_1">
                    订单状态
                </td>
                <td colspan="3">
                    <asp:DropDownList runat="server" ID="OrderState" OnSelectedIndexChanged="OrderState_SelectedIndexChanged">
                        <asp:ListItem Value="0">待付款</asp:ListItem>
                        <asp:ListItem Value="1">待发货</asp:ListItem>
                        <asp:ListItem Value="2">已发货</asp:ListItem>
                        <asp:ListItem Value="3">交易完成</asp:ListItem>
                        <asp:ListItem Value="-1">无效订单</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    订单编号
                </td>
                <td>
                    <asp:Label ID="OrderID" runat="server"></asp:Label>
                </td>
                <td class="left_title_2">
                    订单时间
                </td>
                <td>
                    <asp:Label ID="OrderTime" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    订单价格
                </td>
                <td>
                    <asp:Label ID="RealPrice" runat="server"></asp:Label>
                </td>
                <td class="left_title_1">
                    店铺名称
                </td>
                <td>
                    <asp:Label ID="ShopName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    收件人姓名
                </td>
                <td>
                    <asp:Label ID="UserName" runat="server"></asp:Label>
                </td>
                <td class="left_title_1">
                    收件人电话
                </td>
                <td>
                    <asp:Label ID="Phone" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    收件人地址
                </td>
                <td>
                    <asp:Label ID="Address" runat="server"></asp:Label>
                </td>
                <td class="left_title_1">
                    邮编
                </td>
                <td>
                    <asp:Label ID="PostCode" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    订单备注
                </td>
                <td colspan="3">
                    <asp:Label ID="Remark" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    商品详情
                </td>
                <td colspan="3">
                    <table>
                        <tr>
                            <td>
                                商品名
                            </td>
                            <td>
                                商品单价
                            </td>
                            <td>
                                商品数量
                            </td>
                        </tr>
                        <asp:Repeater runat="server" ID="OrderDetail">
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <%#Eval("ItemNmae").ToString() %>
                                    </td>
                                    <td>
                                        <%#Eval("ItemUnitPrice").ToString()%>
                                    </td>
                                    <td>
                                        <%#Eval("ItemAmount").ToString()%>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
